Skip to content

Conversation

JoeyEamigh
Copy link

Previously, top-level unions passed to the jwt validator would create an invalid schema when intersected with the claims object. This tests for a top-level anyOf and maps into that if present.

@JoeyEamigh
Copy link
Author

This is related to elysiajs/elysia#1337. Bug in this repo, not in the validators as a whole.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant